package com.comm.module;

import com.comm.module.bean.EventInfo;
import com.comm.module.bean.EventRequest;
import com.comm.module.bean.HttpResult;

import java.util.List;

import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by cxlin007 on 2017/10/5.
 */

public interface ApiService {
    @POST(".")
    Observable<HttpResult<List<EventInfo>>> fetchEvents(@Body EventRequest eventRequest);
}
